// import { createStore, applyMiddleware } from 'redux'
// import rootReducer from '../reducer'
// import thunk from 'redux-thunk'
// export default createStore(
//     rootReducer, 
//     applyMiddleware(thunk)
// )
import { createStore, applyMiddleware } from 'redux'
import rootReducer from '../reducer'
import thunk from 'redux-thunk'
export default createStore(
    rootReducer,
    applyMiddleware(thunk)
)